package com.zmzncs.lmtc.module.promotion.service.impl;

import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule_park.ReserveRulePark;
import com.zmzncs.lmtc.module.promotion.dao.ReserveRuleParkDao;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule_park.ReserveRuleParkDTO;
import com.zmzncs.lmtc.module.promotion.service.ReserveRuleParkService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 促销-预约规则关联的停车场 服务实现类
 * </p>
 *
 * @author 高博文
 * @since 2020-12-14
 */
@Service
public class ReserveRuleParkServiceImpl extends ServiceImpl<ReserveRuleParkDao, ReserveRulePark> implements ReserveRuleParkService {

    @Autowired
    ReserveRuleParkDao reserveRuleParkDao;

    @Override
    public List<ReserveRuleParkDTO> getReserveRuleParkList(String keyword) {
        return reserveRuleParkDao.getReserveRuleParkList(keyword);
    }
}
